<?php echo anchor('admin/tbl_product/add','Add Product');?>
<br>
<?php echo anchor('admin/front','back');?>
<?php echo form_open('admin/tbl_product/delete');?>
<table class="standard-table">

    <tr>
        
        <th>ID</th>
       
        
        <th>Customer Name</th>
        
        <th>Total Price</th>
        
        <th>Total Price After Discount</th>
        
        <th>Discount</th>
        
        <th>Coupon Code</th>
        
        <th>Action</th>

    </tr>
    <?php foreach ($order as $orders) { ?>

        <tr>
            <th><?php echo form_checkbox('id[]',$orders['id']).$orders['id']; ?></th>

             
            <th><?php echo $orders['customer_id']; ?></th>
           
            <th><?php echo $orders['total_price']; ?></th>
           
            <th><?php echo $orders['diskaun_price']; ?></th>
           
            <th><?php echo $orders['coupon_value']; ?></th>
           
            <th><?php echo $orders['coupon_code']; ?></th>
           
            <th><a href="<?php echo site_url().'/admin/order/form_update/'.$orders['id'];?>" >Edit</a>
        </tr>
 
<?php } ?>
</table>
<?php echo $pagination; ?>
<br>
<input type="submit" value="delete" onclick="return confirm('are you sure ?');">

<?php echo form_close();?>